# 集合

s={10,20,30,40}
print(s)

s=set()
print(s)
s={}
print(s, type(s))

s=set('helloworld')
print(s)
s2=set([10,20,30])
print(s2)

s3=set(range(10))
print(s3)


A={10,20,30,40,50}
B={30,50,77,81,20}

print(A&B)
print(A|B)
print(A-B)
print(A^B)

s3={i for i in range(10)}
print(s3)


